var express=require('./src/express.js');

var app=express();
// console.log(typeof express,Object.keys(express))
//console.log(Object.keys(app)) 
app.get('/',function(req,res,next){
    console.log(req.query)
    res.write('aa');
    next();
},function(req,res,next){
    res.write('bb');
    res.end();
    next();
});
app.get('/',function(req,res,next){
    console.log('res.send',!!res.send);
    next();
})
app.listen(3003,function(){
    console.log('listen 3003')
})
console.log(app._router.stack)
